package com.shunda.system.domain;

import com.shunda.common.annotation.Excel;
import com.shunda.common.annotation.Excel.ColumnType;
import com.shunda.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * 用户值班记录 sys_user_duty_log
 *
 * @author shunda
 */
public class SysUserDutyLog {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long logId;

    /**
     * 所属加油站ID
     */
    private Long deptId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 状态（0值班 1下班）
     */
    private String status;

    /**
     * 记录时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
